<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/表格案例.css">
    <link rel="stylesheet" href="./font/iconfont.css">
</head>

<body>
    <header>
        <span>9466云专题</span>
        <span class="iconfont icon-yonghu">&nbsp;&nbsp; 龙猫 ( 9466云专题 )</span>
    </header>
    <section>
        <ul>
            <li><span class="iconfont icon-home"></span>&nbsp; 首页 </li>
            <li><span class="iconfont icon-zhuantiguanli"></span>&nbsp; 专题</li>
            <li><span class="iconfont icon-yonhu"></span>&nbsp; 用户</li>
            <li><span class="iconfont icon-shezhi"></span>&nbsp; 设置</li>
            <li><span class="iconfont icon-xitongrizhi"></span>&nbsp; 日志</li>
        </ul>
        <div class="right">
            <div class="sousuo">
                <input type="text" placeholder="搜索用户" class="sousuoin">
                <button class="sousuobt">搜索</button>
            </div>
            <button>+&nbsp; &nbsp;&nbsp;添加用户</button>
            <table>
                <thead>
                    <tr>
                        <th class="first">邮箱（用户）</th>
                        <th>姓名</th>
                        <th>电话</th>
                        <th>所属组</th>
                        <th>管理员</th>
                        <th>状态</th>
                        <th class="caozuo">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <!-- <tr>
                        <td>1222222222@qq.com</td>
                        <td>雅雅雅</td>
                        <td>12222222222</td>
                        <td>编辑组</td>
                        <td>是</td>
                        <td> <span class="green"></span> </td>
                        <td class="caozuo"> <span class="iconfont icon-bianji"></span> <span class="iconfont icon-shanchu"></span> </td>
                    </tr> -->
                </tbody>
            </table>
            <div class="updown">
                <span>上一页</span><span>下一页</span>
            </div>
        </div>
    </section>
</body>

</html>
<script src="./js/axios.min.js"></script>
<script src="./js/表格.js"></script>
<script>
    // render(data.list)
    // function render(data) {
    //     var str = data.map((item, index) => {
    //         return `<tr>
    //                 <td>${item.email}</td>
    //                 <td>${item.name}</td>
    //                 <td>${item.phone}</td>
    //                 <td>${item.zu}</td>
    //                 <td>${item.guanli ? '是' : '否'}</td>
    //                 <td> <span  class="zhuangtaise">${item.zhuangtai ? '正常' : '异常'}</span></td>
    //                 <td class="caozuo"> <span class="iconfont icon-bianji"></span> <span class="iconfont icon-shanchu"></span> </td>
    //             </tr>`
    //     }).join('')
    //     document.querySelector('tbody').innerHTML = str
    // }
</script>
